package com.jywl.entity;

import java.util.Date;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class User {
	private String userid;
	private Integer age;
	private String loginname;
	private String username;
	private Integer gender;
	private Date birthday;
	private Integer status;
	private String remarks;
	private Integer deleted;
	
	public Integer getDeleted() {
		return deleted;
	}
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getLoginname() {
		return loginname;
	}
	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	@JsonSerialize(using=JsonDateSerializer.class)  
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Override
	public String toString() {
		return "User [userid=" + userid + ", age=" + age + ", loginname=" + loginname + ", username=" + username
				+ ", gender=" + gender + ", birthday=" + birthday + ", status=" + status + ", remarks=" + remarks + "]";
	}
	
	
}
